﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TST.SharePointObjects
{
    internal class SiteObject : BaseObject
    {
        private string _group;
        private string _url;
        private SiteObjectType _type;
        private bool _index;
        private ObjectReferenceScope _indexScope;
        private IndexByProperty _indexByProperty;
        private bool _indexItems;
        private string _indexId;

        public string Group
        {
            get { return _group; }
            set { _group = value; }
        }

        public SiteObjectType SiteObjectType
        {
            get { return _type; }
            set { _type = value; }
        }

        public string Url
        {
            get { return _url; }
            set { _url = value; }
        }

        public bool Index
        {
            get { return _index; }
            set { _index = value; }
        }

        public ObjectReferenceScope IndexScope
        {
            get { return _indexScope; }
            set { _indexScope = value; }
        }

        public IndexByProperty IndexByProperty
        {
            get { return _indexByProperty; }
            set { _indexByProperty = value; }
        }

        public bool IndexItems
        {
            get { return _indexItems; }
            set { _indexItems = value; }
        }

        public string IndexId
        {
            get { return _indexId; }
            set { _indexId = value; }
        }

        public SiteObject(string id, string name, SiteObjectType objectType)
        {
            Id = id;
            Name = name;
            _type = objectType;
        }

        public SiteObject()
        {
        }

    }
}
